<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css层叠样式</title>
    <style>
        div {
            color: red;
            font-size: 12px;
            
        }
        div {
            color: pink;

        }
    </style>
</head>
<body>
    <div>长江后浪推前浪，前浪死在沙滩上。</div>
</body>
</html>